function core_update(buf) {
	let tmp = buf.split('>>v2d_show()\n');
	core_L = core_L.concat(tmp);
	if (core_L.length>1e6){
		core_L.splice(0, tmp.length);
		play_pointer = play_pointer - tmp.length;
		if (play_pointer<0){
			play_pointer=0;
		}
	}
}